Introduce Format class (#449)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Sat, 11 Jan 2020 15:53:05 +0000 (08:53 -0700)
committerGitHub <noreply@github.com>
Sat, 11 Jan 2020 15:53:05 +0000 (08:53 -0700)
commit65d7f47451bbc907e9b080622c8b61b048cd34c4
tree4baa288567a9ed666db563c143ee73c4c169c4fe
parentdc5e311654ee0f6b57a29a694f920e8a7b46d631
Introduce Format class (#449)

Also, introduce Vecs and FilterVecs classes. These are implemented as Meyers singeltons. This avoids some issues with initialization order.

All formats except gpx are used as LegacyFormats, which is deprecated. The gpx format has been converted to demonstrate the preferred usage.
17 files changed:
CMakeLists.txt
GPSBabel.pro
Makefile.in
defs.h
filter_vecs.cc
filter_vecs.h [new file with mode: 0644]
filterdefs.h [deleted file]
format.h [new file with mode: 0644]
garmin.cc
gpx.cc
gpx.h [new file with mode: 0644]
legacyformat.h [new file with mode: 0644]
magproto.cc
main.cc
reverse_route.h
vecs.cc
vecs.h [new file with mode: 0644]